package base.Day02;

import java.util.Scanner;

public class ScannerDemo
{
    public static void main(String[] args)
    {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入");
        int age = scanner.nextInt();
        System.out.println(age);

        System.out.println("input a double number");
        double price = scanner.nextDouble();
        System.out.println(price);



    }
}
